package com.youthfilmic.yuejian.service;

import com.youthfilmic.yuejian.domain.Account;
import com.youthfilmic.yuejian.domain.User;

/**
 * Created by youweixi on 15/10/7.
 */
public interface UserService {

    User createNewUser(String openId ,int openIdFrom , String unionId , String nickName , String img , int sex , String phone) throws Exception;

    Account getAccount(Long userId);

    void updateUserInfo(Long userId , User user);

}
